package org.xielei.stream;

import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * DateTest
 *
 * @author xielei
 * @date 2021/2/3
 */
public class DateTest {

    @Test
    public void DateTest() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("hh mm ss");
        String format = simpleDateFormat.format(new Date());
        System.out.println(format);
    }
}
